﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

/// <summary>
/// Summary description for IAccount
/// </summary>
public interface IAccount
{
    IList<AccountInfo> GetAll();
    AccountInfo GetByID(string id);
    int Insert(AccountInfo account);
    int Update(AccountInfo account);
    int Delete(AccountInfo account);
    string GetPassword(string username);
    int ChangePassword(string username,string pass);
    int BlockAccount(string username);
}